package com.burger.counter.business;

import com.burger.counter.beans.Starter;
import com.burger.counter.dao.StarterDao;

public class StarterBusiness {
	public Starter[] getStarterDetails(int regionId) throws Exception{
		System.out.println("we r in business layer");
		StarterDao starterDao = new StarterDao();
		Starter[] starters=starterDao.getStarterDetails(regionId);
		return starters;
	}
	
	public void setStarterCount(int regionId,String StarterName) throws Exception{
		System.out.println("we r in business layer");
		StarterDao StarterDao = new StarterDao();
		StarterDao.setStarterCount(regionId, StarterName);
	}	
}
